package org.learn.test;

public class TwoDimensionalArray01 {
    public static void main(String[] args) {
        int[][] arr = {{0,0,0,0,0,0,},{0,0,1,0,0,0,},
                {0,2,0,3,0,0,},{0,0,0,0,0,0,}};
        //输出二维数组的图形；
        for(int i = 0; i < arr.length; i++){
            //遍历二维数组的每一个元素
            for(int j = 0;j < arr[i].length;j++){
                //得到对应的每一个一维数组的长度
                System.out.print(arr[i][j] + "\t");
            }
            System.out.println();
        }
    }
}
